from selenium import webdriver
from selenium.webdriver.common.by import By
import time

web = webdriver.Firefox()
web.implicitly_wait(1)
web.get('https://weixin65732.raysclab.com/W65732/C1000005632/product/redirect/10213954?type=WORD&orderNum=16506838708634032675551&adviserId=1000006403&sceneId=3044354&is_pay_back=1&isBuy=1&buyGuide=1&express=1&openid=odV5j1B2wxy-v192O_twL88bYJBg')


web.find_element(By.CLASS_NAME, 'right-content').click()
web.find_element(By.CSS_SELECTOR, 'a>span').click()
web.find_element(By.CSS_SELECTOR, 'div[class*="buy"]').click()

time.sleep(5)
web.quit()
